package com.ting.tadmin.util.Alipay;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "alipay")
public class AlipayConfig {

    @Value("${alipay.URL}")
    private String URL ;
    @Value("${alipay.APP_ID}")
    private String appid;
    @Value("${alipay.APP_PRIVATE_KEY}")
    private String appprivatekey;
    @Value("${alipay.FORMAT}")
    private String format;
    @Value("${alipay.CHARSET}")
    private String charset;
    @Value("${alipay.ALIPAY_PUBLIC_KEY}")
    private String alipaypublickey;
    @Value("${alipay.SIGN_TYPE}")
    private String signtype;
    @Value("${alipay.RETURN_URL}")
    private String returnurl;
    @Value("${alipay.NOTIFY_URL}")
    private String notifyurl;

}
